﻿using System;
using yiCommerce.Core.Domain.Products;

namespace yiCommerce.Core.Domain.Orders
{
    public class OrderProductVariant:BaseEntity
    {
        public virtual int OrderId { get; set; }
        public virtual Order Order { get; set; }

        public virtual Guid OrderProductVariantGuid { get; set; }

        public virtual int ProductVariantId { get; set; }
        public virtual ProductVariant ProductVariant { get; set; }

        public virtual string AttributeDescription { get; set; }

        public virtual string AttributesXml { get; set; }

        public virtual int Quantity { get; set; }

        public virtual decimal ItemWeight { get; set; }

        public virtual decimal TotalPrice { get; set; }

        public virtual decimal UnitPrice { get; set; }
    }
}